package com.lyl.springcloud.server;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

/**
 * @author lylbell
 * @date 2021-05-29 17:00
 */
//@Component
public class PaymentFallbackService implements PaymentFeignServer {
    @Override
    public String paymentInfo_ok(Integer id) {
        return "ok服务降级处理";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "timeout服务降级处理";
    }
}
